import request from '@/utils/request'

// 查询减免记录列表
export function listReduce_fee(query) {
    return request({
        url: '/bizsys/reduce_fee/list',
        method: 'get',
        params: query
    })
}

// 查询减免记录详细
export function getReduce_fee(id) {
    return request({
        url: '/bizsys/reduce_fee/' + id,
        method: 'get'
    })
}

// 新增减免记录
export function addReduce_fee(data) {
    return request({
        url: '/bizsys/reduce_fee',
        method: 'post',
        data: data
    })
}

// 修改减免记录
export function updateReduce_fee(data) {
    return request({
        url: '/bizsys/reduce_fee',
        method: 'put',
        data: data
    })
}

// 删除减免记录
export function delReduce_fee(id) {
    return request({
        url: '/bizsys/reduce_fee/' + id,
        method: 'delete'
    })
}

// 导出减免记录
export function exportReduce_fee(query) {
    return request({
        url: '/bizsys/reduce_fee/export',
        method: 'get',
        params: query
    })
}
